"VIMIDE vimrc basic settings
"--------start---------
set fileencodings=ucs-bom,utf-8,cp936
set helplang=cn

set shiftwidth=2
set tabstop=2
set expandtab
set nobackup
set noswapfile
set nowb
set backspace=start,indent,eol
set nu!
set autoindent
set smartindent
set wrap

set noerrorbells
set novisualbell

syntax on
set ruler

filetype plugin on
filetype indent on

map <C-t> :NERDTree<cr>
map <C-o> :TlistToggle<cr>
vmap <C-c> "+y

let Tlist_Ctags_Cmd='ctags.exe'
let Tlist_Show_One_File = 1

let g:miniBufExplMapWindowNavVim = 1 
let g:miniBufExplMapWindowNavArrows = 1 
let g:miniBufExplMapCTabSwitchBufs = 1 
let g:miniBufExplModSelTarget = 1

inoremap <C-P> <ESC>:call PhpDocSingle()<CR>i 
nnoremap <C-P> :call PhpDocSingle()<CR> 
vnoremap <C-P> :call PhpDocRange()<CR> 

set mouse=a
autocmd VimEnter * NERDTree
autocmd BufEnter * silent! lcd %:p:h

"--------end--------
